Newton–Cotes formulas